from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from qtpy import QtWidgets, QtCore


class DateDialog(QDialog):
    def __init__(self,parent=None):
        super(DateDialog,self).__init__(parent)
        self.setWindowTitle("打赏作者")



        buttons = QDialogButtonBox(QDialogButtonBox.Ok, Qt.Horizontal, self)
        buttons.accepted.connect(self.close)
